/**
 * @file file_queue.h
 * @author your name (you@domain.com)
 * @brief 文件管理消息队列
 * @version 0.1
 * @date 2023-07-26
 * 
 * @copyright Copyright (c) 2023
 * 
 */

#ifndef FILE_QUEUE_H
#define FILE_QUEUE_H

#define QUEUE_OK            0x0000
#define QUEUE_ERR_BAD_INPUT 0x0001

#define QUEUE_STATUS_EMPTY  0x1000

#define QUEUE_NOT_TIME_OUT  0x2000

void queue_file_init();

int queue_file_add(const char *access_token, const char *owner, const char *repo, const char *file_path, const char *sha);

int queue_file_get(char *access_token, char *owner, char *repo, char *file_path, char *sha);

void debug_queue_file();

void debug_queue_file_free();

#endif